package com.justdoit.facedemo.base;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Result<T> {

    private String code;
    private String message;
    private T data;

    public Result(String code,String message) {
        this(code,message,null);
    }
}
